package com.wxp.demo07.client.app.client.provider;

import android.net.Uri;
import android.provider.BaseColumns;

/**
 * 用户信息上下文
 */
public class UserInfoContent implements BaseColumns {

    /**
     * 定义请求接口地址
     */
    public static final String AUTHORITIES = "com.wxp.demo07.server.app.provider.UserInfoProvider";

    /**
     * 访问内容提供器的URI
     * 访问地址为：content://com.wxp.demo07.app.server.provider.UserInfoProvider/user
     */
    public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITIES + "/user");

    /**
     * 下面是该表的各个字段名称
     */
    public static final String USER_NAME = "name";
    public static final String USER_AGE = "age";
    public static final String USER_HEIGHT = "height";
    public static final String USER_WEIGHT = "weight";
    public static final String USER_MARRIED = "married";

}
